package com.sun.dao;

import com.sun.pojo.Blog;

import java.util.List;
import java.util.Map;

/**
 * @Author SunBingRui
 * @Date 2020/5/8 17:08
 */
public interface BlogMapper {
    //插入数据
    int addBlog(Blog blog);

    //if、where标签测试
    List<Blog> queryBlogIF(Map map);

    //choose
    List<Blog> queryBlogChoose(Map map);

    //set
    int updateBlog(Map map);
}
